export interface PlayerRank {
  id: string
  username: string
  rating: number
  wins: number
  losses: number
  draws: number
  winStreak: number
  bestRating: number
  lastActive: Date
}

export interface RankingChange {
  oldRating: number
  newRating: number
  change: number
  reason: string
}

export interface MatchResult {
  winner: string
  loser: string
  isDraw: boolean
  whitePlayer: string
  blackPlayer: string
  moves: number
  duration: number
  date: Date
} 